package com.vates.curso.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vates.curso.dao.GenericDao;
import com.vates.curso.dao.PhoneDao;
import com.vates.curso.entities.Phone;
import com.vates.curso.service.PhoneService;

@Service("phoneService")
public class PhoneServiceImpl extends BaseObjectServiceImpl<Phone, Long>
		implements PhoneService {

	@Autowired
	private PhoneDao phoneDao;

	public GenericDao<Phone, Long> getEntityDao() {
		return phoneDao;
	}

}
